<template>
  <div class="home">
    <Header></Header>
    <el-container class="content">
      <Menu></Menu>
      <el-container>
        <el-main>
          <Bread></Bread>
          <!-- 将main切换成路由接口才能实现路由跳转 -->
          <div class="cont">
            <router-view></router-view>
          </div>
        </el-main>
        <el-footer><Footer></Footer></el-footer>
      </el-container>
    </el-container>
  </div>
</template>

<script>
import Header from '../components/Common/Header.vue'
import Menu from '../components/Common/Menu.vue'
import Footer from '../components/Common/Footer.vue'
import Bread from '../components/Common/Breadcrumb.vue'
export default {
  name: 'Home',
  components: {
    Header,
    Menu,
    Footer,
    Bread,
  },
}
</script>

<style scoped lang="scss">
.home {
  width: 100%;
  height: 100%;
  .content {
    width: 100%;
    top: 60px;
    position: absolute;
    bottom: 0;
    .cont {
      margin: 20px;
    }
  }
}
</style>
